﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master"
    AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="ECommerce.Web.ECAdmin.Advertisement.Edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 75px;
            height: 30px;
            text-align: right;
        }
        .style2
        {
            text-align: left;
            padding-left: 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="pnlMain" runat="server" CssClass="pnlMain">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
            <tr>
                <td class="style1">
                    <span style="color: Red;">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="广告标识："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtName" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
                        Display="None" ErrorMessage="请输入标识" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label4" runat="server" Text="上传图片："></asp:Label>
                </td>
                <td class="style2">
                    <asp:FileUpload ID="fileImage" runat="server" Width="249px" />
                </td>
            </tr>
            
            <tr>
                <td class="style1">
                    <asp:Label ID="Label3" runat="server" Text="链接地址："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtHref" runat="server" CssClass="txt" Width="250px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label5" runat="server" Text="描述："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtDescription" TextMode="MultiLine" runat="server" 
                        Width="250px" CssClass="txt" Height="75px"></asp:TextBox>
                </td>
            </tr>
            
        </table>
    </asp:Panel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowSummary="False"
        ShowMessageBox="True"></asp:ValidationSummary>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />

</asp:Content>
